<?php
namespace app\common\model;

use think\Model;

/**  YSF
 *   业务员提现订单 模型
 *   Date: 2019/4/16
 * Class OaCashOrderModel
 * @package app\common\model
 */
class OaCashOrderModel extends Model
{
    // 表名
    protected $name = 'oa_cash_order';

    // 单条查询
    public function getOne($where=[],$field='*',$join=[])
    {
        $result = $this->alias('a')->where($where)->join($join)
                    ->field($field)
                    ->find();
        return $result;
    }






}